package com.joolun.system.domain;

import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 小程序首页轮播图对象 wx_portal
 * 
 * @author www.joolun.com
 * @date 2022-01-03
 */
public class WxPortal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private String code;

    /** （1：开启；0：关闭） */
    @Excel(name = "", readConverterExp = "1=：开启；0：关闭")
    private String enable;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 跳转url */
    @Excel(name = "跳转url")
    private String toUrl;

    /** 图片 */
    @Excel(name = "图片")
    private String picUrl;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    private String delFlag;

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setEnable(String enable) 
    {
        this.enable = enable;
    }

    public String getEnable() 
    {
        return enable;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setToUrl(String toUrl) 
    {
        this.toUrl = toUrl;
    }

    public String getToUrl() 
    {
        return toUrl;
    }
    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("enable", getEnable())
            .append("description", getDescription())
            .append("toUrl", getToUrl())
            .append("picUrl", getPicUrl())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
